package com.dataseek.iot.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dataseek.iot.toolkit.mybatis.entity.BaseEntity;
import lombok.Data;

@Data
@TableName(value = "tenant.sys_notify_rule")
public class NotifyRule1 extends BaseEntity {

    @TableId(value = "rule_id", type = IdType.AUTO)
    private Long ruleId;

    @TableField(value = "notify_code")
    private String notifyCode;

    @TableField(value = "notify_name")
    private String notifyName;

    @TableField(value = "alarm_type")
    private String alarmType;

    @TableField(value = "template_code")
    private String templateCode;

    @TableField(value = "rela_user")
    private String relaUser;

    @TableField(value = "comments")
    private String comments;
}
